<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <link rel="icon" href="images/chongwu.ico" type="image/x-icon">
  <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.2/jquery.min.js"></script>
  <link rel="stylesheet" href="css/TopButtomMain.css">
  <link rel="stylesheet" href="css/order.css">
  <link href="https://cdn.bootcss.com/normalize/8.0.1/normalize.min.css" rel="stylesheet">
  <script src="https://kit.fontawesome.com/e2c1b76463.js" crossorigin="anonymous"></script>
  <title>宠物商店哦哦哦</title>
</head>
<body th:fragment="IncludeTop">
    <div class="top-nav">
      <div class="container clearf">
        <div class="left">
          <a href="main" class="item">首页</a>
        </div>
        <div class="right">
          <div th:if="${session.account}">
            <a th:href="@{viewListOrder(name=${session.account.name})}" class="item">我的订单</a>
            <a th:href="@{signOff}" class="item">退出登录</a>
            <a th:href="@{MyAccountForm}" class="item">个人主页</a>
          </div>
          <div th:if="${session.account}==null">
            <a th:href="@{loginForm}" class="item">我的订单</a>
            <a th:href="@{register}" class="item">注册</a>
            <a th:href="@{loginForm}" class="item">登录</a>
          </div>
        </div>
      </div>
      <div class="header">
        <div class="container clearf">
          <div class="col-2 logo">宠物商店</div>
          <div class="col-5 search-bar">
            <!--搜索栏目-->
            <form th:action="@{searchProduct}" method="post">
              <input type="text"  id="keyword" name="keyword" size="14" />
              <button type="submit" name="searchProducts" value="Search">搜索</button>
            </form>
            <div id="productAutoComplete" class="productAutoComplete">
              <ul id="productAutoList" class="productAutoList">
              </ul>
            </div>
            <script src="js/findProduct.js" type="text/javascript" xml:lang="javascript" charset="UTF-8"></script>
          </div>
          <div class="col-3 cart">
            <a th:href="@{viewCart}" class="item">我的购物车</a>
          </div>
        </div>
      </div>
      <div class="main-promote">
